﻿<%@ Page Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<AdminCondominio.Dominio.Usuario>" %>

<asp:Content ID="loginTitle" ContentPlaceHolderID="TitleContent" runat="server">
    Log On
</asp:Content>

<asp:Content ID="loginContent" ContentPlaceHolderID="MainContent" runat="server">
    <h2>Iniciar Session</h2>
    <p>
        Por favor ingrese su correo y clave.
    </p>
     <%  Html.EnableClientValidation(); %>

    <% using (Html.BeginForm()) { %>
        <%: Html.ValidationSummary(true, "") %>
        <div>
            <fieldset>
                <legend>Informacion </legend>
                
                <div class="editor-label">
                    Correo
                </div>
                <div class="editor-field">
                    <%: Html.TextBoxFor(m => m.NoCorreo) %>
                    <%: Html.ValidationMessageFor(m => m.NoCorreo) %>
                </div>
                
                <div class="editor-label">
                  Clave
                </div>
                <div class="editor-field">
                    <%: Html.PasswordFor(m => m.TxClave) %>
                    <%: Html.ValidationMessageFor(m => m.TxClave) %>
                </div>
               
                <p>
                    <input type="submit" value="Ingresar" />
                </p>
            </fieldset>
        </div>
    <% } %>
</asp:Content>
